package com.example.computer_exam_training_sys.dto;

import lombok.Data;
import java.time.LocalDateTime;

@Data
public class AchievementDTO {
    private Long achievementId;
    private Long userId;
    private String achievementType;
    private String achievementName;
    private String description;
    private LocalDateTime earnDate;
    private LocalDateTime createTime;
    private String userName;
    
    // 额外字段
    private String iconUrl;          // 成就图标
    private Integer progress;        // 进度（百分比）
    private Boolean isUnlocked;      // 是否已解锁
    private String nextMilestone;    // 下一个里程碑
} 